package com.dark.sys.service;

import java.util.List;

import com.dark.sys.web.dto.ResourceDto;


public interface ResourceService {

	public void add(ResourceDto dto) ;
	
	public void delete(Integer id) ;
	
	public void update(ResourceDto dto) ;
	
	public ResourceDto get(Integer id) ;
	
	public List<ResourceDto> tree(ResourceDto dto) ;
	
	public List<ResourceDto> listAll(ResourceDto dto) ;
	
	public List<ResourceDto> getResourceOperations(String resourceIds) ;
	
	public List<Integer> getResourceOperationsIdsByUserId(Integer userId) ;
	
}
